/*
 * @Descripttion:
 * @version:
 * @Author: ChenXiang
 * @Date: 2021-03-27 19:41:25
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-04-16 10:34:42
 */

import AsyncComponent from "@/router/component/asyncComponent";
export default [
  {
    path: "/r/home",
    component: AsyncComponent(
      () => import(/* webpackChunkName: "Home" */ "./pages/home")
    ),
    requiresAuth: false,
    children: [
      {
        path: "/r/home/son",
        component: AsyncComponent(
          () => import(/* webpackChunkName: "Home" */ "./pages/son")
        ),
        requiresAuth: false // 需要登陆后才能跳转的页面
      }
    ]
  },
  {
    path: "/r/brother",
    component: AsyncComponent(
      () => import(/* webpackChunkName: "Home" */ "./pages/brother")
    ),
    requiresAuth: false // 需要登陆后才能跳转的页面
  }
];
